// 纯函数和不纯的函数
// slice/splice

// 纯函数
function getSum (n1, n2) {
  return n1 + n2;
}
console.log(getSum(1, 2));
console.log(getSum(1, 2));
console.log(getSum(1, 2));
